class AddTitleBodyToMap < ActiveRecord::Migration
  def self.up
    add_column :maps, :title, :string
    add_column :maps, :body, :text
    add_column :maps, :published, :boolean
    add_column :maps, :px, :string
    add_column :maps, :py, :string
  end

  def self.down
    remove_column :maps, :py
    remove_column :maps, :px
    remove_column :maps, :published
    remove_column :maps, :body
    remove_column :maps, :title
  end
end
